Posts: 28
Threads: 8
Joined: Jan 2013
2013-01-26, 09:27:49
(This post was last modified: 2013-01-26, 19:51:50 by wampir.)
How i can make in this line RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L] when i created new page to my domain go
www.yourdomain.com/about or create a page contact to go
www.yourdomain.com/contact
Or how to make
www.yourdomain.com/about.html or
www.yourdomain.com/contact.html
Thx
Posts: 2,928
Threads: 195
Joined: Feb 2011
2013-01-27, 03:30:23
(This post was last modified: 2013-01-27, 03:32:06 by Connie.)
you could test by defining a slug:
Code:
%parent%/%slug%.html
in the settings... do you get what you want?
If not, you try an online htaccess generator.
That is the best way because you can get results, check them and alter eventually in short time, without waiting for a suggestions, it allows to test without break...
so that you get a working rewrite at the end
you could test this one:
http://www.htaccessredirect.net/