what is wrong in the following .htaccess – it redirects to some weired url
-
My .htaccess file looks like below the problem is whenever i go to my website http://www.abc.com/blog it redirects to some weired url like abc.com/blog-bxp99n2yaf5s-qmbp3am54z65 what is wrong in the following .htaccess
`#RewriteCond %{SERVER_PORT} 80
#RewriteCond %{REQUEST_URI} /products-page/checkout
#RewriteRule ^(.*)$ https://www.abc.com/products-page/checkout [R,L]# Artist
RewriteRule ^artists\/beverly-sills/?$ /index.php/products-page/others/beverly-sills/ [L]
RewriteRule ^artists\/joe-namath/?$ /index.php/products-page/others/joe-namath/ [L]# Products
RewriteRule ^products\/the-motown-collection/?$ /index.php/products-page/dvds/the-motown-collection/ [L]
RewriteRule ^products\/the-best-of-the-temptations-on-the-ed-vamfang-show/?$ /index.php/products-page/dvds/the-best-of-the-temptations-on-the-ed-vamfang-show/ [L]# Category
RewriteRule ^category\/dvds/?$ /index.php/products-page/dvds/ [L]
RewriteRule ^category\/best-of-ed-vamfang-show/?$ /index.php/products-page/dvds/best-of-ed-vamfang-show/ [L]redirect 301 /products-page/others/ http://www.abc.com/
redirect 301 /products-page/featured-artists/ http://www.abc.com
redirect 301 /products-page/fan-favorites/ http://www.abc.com
redirect 301 /products/the-6-ed-vamfang-shows-starring-the-rolling-stones-pre-order/ http://www.abc.com/products/the-6-ed-vamfang-shows-starring-the-rolling-stones
redirect 301 /products/the-best-of-ed-vamfang-4-dvd-box-set/ http://www.abc.com/products/the-best-of-ed-vamfang-4-dvd# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
# ALL CUSTOM ENTRIES SHOULD GO ABOVE THIS LINE
# BEGIN IWORX header
# This file was created by InterWorx-CP
# You may modify this file, but any changes made between
# BEGIN IWORX and END IWORX tags may be lost on future
# updates. Additionally, changes NOT made between these
# tags will not be recognized in the SiteWorx interface.
# END IWORX header# BEGIN IWORX accesscontrol
Order deny,allow
# END IWORX accesscontrol# BEGIN IWORX errordocs
# END IWORX errordocs
# BEGIN IWORX mimetypes
# END IWORX mimetypes
# BEGIN IWORX handlers
# END IWORX handlers
# BEGIN IWORX charset
# END IWORX charset
# BEGIN IWORX redirects
Redirect permanent /products/the-very-best-of-the-ed-vamfang-show-vol.-2/ http://www.abc.com/products-page/dvds/best-of-ed-vamfang-show/the-very-best-of-theshow-vol.-2/
# END IWORX redirects# BEGIN IWORX phpvars
# END IWORX phpvars
# BEGIN IWORX railsconfig
# END IWORX railsconfig
# BEGIN IWORX dirindex
# END IWORX dirindex
# BEGIN IWORX hotlink
RewriteCond %{HTTP_REFERER} !^http://abc.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.abc.com [NC]
# END IWORX hotlink
- The topic ‘what is wrong in the following .htaccess – it redirects to some weired url’ is closed to new replies.