Posted by:
testuser
(---.253.88.202.asianet.co.in)
Here is my htaccess file
RewriteEngine on
RewriteRule ^(.*)-(.*).htm$ viewprofile.php?id=$1
ErrorDocument 404 [
192.168.1.76]
RewriteRule ^(.*).htm$ viewprofile.php?id=$2
RewriteRule viewads(.*)\.htm$ viewads.php?id=$1
RewriteRule (.*)&(.*)\.htm$ homeads.php?id=$2
RewriteRule (.*).htm$ profile_city.php?id=$1
RewriteRule (.*).htm$ profile_cast.php?id=$1
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^waytonikah.com
RewriteRule ^(.*)$ [
waytonikah.com] [L,R=301]
But "The requested URL /viewprofile.php was not found on this server." error will returned.I am using wamp server.Please find the code and help me