Moving from wordpress to regular html

4trsuted

Regular Member
Joined
Apr 9, 2010
Messages
371
Reaction score
207
So decided to replace wordpress site with regular html site. Will there be any problems with links? Since html site would show .html at the end, but right now wordpress shows simply / at the end. Or I should redirect / to html?
 
If you are using a Linux hosting, you can still use .htaccess to use same URLs as Wordpress if you don't have too many pages.

Wordpress removes stop words from the URL so you'd have to manually edit the URLs for each page.
 
If you are using a Linux hosting, you can still use .htaccess to use same URLs as Wordpress if you don't have too many pages.

Wordpress removes stop words from the URL so you'd have to manually edit the URLs for each page.

So there is no other easier way to do it?
 
If I do that, does the links to version without .html would still work?
 
you can hide .html extension with the same url format which you are having now.

Have a look at -

Code:
 http://www.inmotionhosting.com/support/website/htaccess/remove-file-extensions
 
Really curious why you would want to do that?
 
Really curious why you would want to do that?

Really starting to like website with less code. Wordpress is very good and all, but there is way too much stuff that is simply not needed, nor used
 
Thread Moved

How big is your website? I've converted basic HTML websites to WordPress, but not the other way around.
 
Sorry, if I confused - I have wordpress site, do not want to use it anymore, want to create new html only site for the same url as before, but keeping all the links.
Meaning if on wordpress url was ''mysite.com/link/post''
on html creating the same ''mysite.com/link/post''
 
Sorry, if I confused - I have wordpress site, do not want to use it anymore, want to create new html only site for the same url as before, but keeping all the links.
Meaning if on wordpress url was ''mysite.com/link/post''
on html creating the same ''mysite.com/link/post''

How many pages does your site have? If not much, you can manually download each page (there are scrapers that do this) with file name EXACTLY as the WP slug and add .php/.html at the end. Upload the files to /link subdirectory.

Add this to .htaccess of root (makes URL with trailing slash default):
Code:
##Remove .html
RewriteRule ^link/([a-zA-Z0-9\-_]+)$ http://www.domain.com/link/$1/ [L,R=301,NC]
RewriteRule ^link/([a-zA-Z0-9\-_]+)/$ link/$1.html [L,QSA,NC]
 
Sorry, if I confused - I have wordpress site, do not want to use it anymore, want to create new html only site for the same url as before, but keeping all the links.
Meaning if on wordpress url was ''mysite.com/link/post''
on html creating the same ''mysite.com/link/post''
It's as easy as remaking all the pages in html. If you delete wp everything will break otherwise
 
Back
Top