-
Rewrite rules with htaccess
I have coded like:
Options +FollowSymlinks
RewriteEngine On
#
RewriteCond %{QUERY_STRING} ^id=myvatax1$
RewriteRUle ^en-GB/myprofile/index.php?$ http://www.mydomain.com/mypage1.php [R=301,L]
#
RewriteCond %{HTTP_HOST} ^mydomain\.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
Why this does not work as rewrite as it does not redirect to correct landing page like:
http://www.mydomain.com/en-GB/myprof...x.php?myvatax1
-
You will need to check the apache error logs for the exact error message.
-
There is any error just redirect is to firstpage.php not landing page...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks