
Miva Merchant And The .htaccess File
MIVA MERCHANT D. What's an .htaccess file - A text file located on the web server which allows you to make server configuration changes on a per directory basis. An .htaccess files applies to its current directory and all sub directories. Files placed in lower directories will overwrite rules in higher directories. -htaccess anafomy of .htaccess Directory Index 3 Force the WWW • Allow you to set the default index page. Example: • This ensures that the search engines see http://yourstore.com and http://www.yourstore.com as the same page. Directorylndex /mm5/merchant.mvc?Screen=SFNT • You can include multiple fles in the list. If the first one is not found it will try the next: • RewriteCond %(HTTP_HOST} !^www.vourstore.com RewriteRule ^(.* J$ http://www.yourstore.com/S1 (R=301) Directorylndex /mm5/merchant.mvc?Screen=SFNT index.html home.php Lwww.yourstore.com/mm5/merchant.mue uww.yourstore.com www homepage homepage http:// yourstore.com http://www.yourstore.com 4 404 Error Page • Set which page the user sees when they reach a page that does not exist 404 OOPS... • Code: ErrorDocument 404 /mm5/merchant.mvc?Screen=NFTD 5 301 Redirects Allows you to redirect one page to another page. This is useful when the page URL changes and you want to redirect the old url to the new url in order to keep your search engine rankings. • Example: Redirect 301 /contact-page.php http://www.yourstore.com/contact.html • Note: The regular 301 redirect syntax above only works if the page you are redirecting from actually exists on the server. If the link you are redirecting from is a re-written url then you need to use a rewrite rule to 301 redirect it properly. single Space Redirect 301
Miva Merchant And The .htaccess File
Source
Unknown. Add a sourceCategory
ComputersGet a Quote