- This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
Viewing 13 posts - 1 through 13 (of 13 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
.htaccess on my website didn’t work i used this code on root directory
RewriteEngine On
RewriteRule ^([^/]*).html$ /index.php?page=$1 [L]
but still not working please help me
make friendly url using htaccess
yes they support rewriting
www.mydomain.com/index.php?page=1
by the way i put my htacces inside public_html directory next to my index page
thank you andy !
Make sure that when you have edited your .htaccess file Notepad or what other editing program has not given it a .txt file extension.
no it’s .htaccess next to index page
look to this image where is .htaccess file
here…
Is there any help please !
Howdy,
I’ve never been one to get my head around regular expression the first time around
Check this out, seems to cover everything needed
http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html
Is there any errors coming up on your site when you try to access it?
thank you karlpcrowley
no errors coming up,and i checked the website but how i know that .htaccess work fine !
yes it’s works fine and i got the value of
$_GET
but url never change to static…
http://www.mydomain.com/index.php?page=1
i’m writing inside index page this code to make the url
- ">
then i get the value by this code
$idRequest = $_REQUEST;
then i use it in SQL syntax
and .htaccess placed next to index page in the root directory of my website and has this code to make easier to read
RewriteEngine On
CheckSpelling On
RewriteRule ^([^/]*).html$ /index.php?page=$1 [L]
so please where is the in correct in my whole code , what should i change !
i’m just a beginer in htaccess