X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Simplifying titlebar for browsers (https://forum.x-cart.com/showthread.php?t=42691)

karebear 09-30-2008 02:51 PM

Simplifying titlebar for browsers
 
Hi,
I'm wondering how to change my website name in the browser....
ex: https://www.kjponline.com
instead of all the /xcart/home.php
I do not want that visible to everyone

Thanks so much,
Karen

Karen
http://kjponline.com/xcart/home.php
4.1.9

Victor D 09-30-2008 11:41 PM

Re: Simplifying titlebar for browsers
 
For apache webserver you should use mod_Rewrite.
Modify .htaccess file according to
http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html
also you need to implement smarty outputfilter to replace all the hyperlinks on the pages.

If I'm not mistaken CD SEO Pro mod can do all this job for you but it will also make all the upgrades of X-cart very painful.
So if you don't plan to upgrade your 4.1.9 CD SEO Pro is a right solution for you

balinor 10-01-2008 03:23 AM

Re: Simplifying titlebar for browsers
 
I actually disagree with both of these statements. First, CDSEO isn't a solution by itself (but I do recommend it in addition to the solution I"m going to give you) and it doesn't cause 'painful' upgrades later on.

In order to get rid of xcart/home.php, you need to do two things:

1. Move the X-Cart installation to the root directory. This is a bit tricky, but you need to move everything from the xcart/ directory into your root directory. That can be done via FTP. Once you move it, you'll need to update the config.php file and remove the xcart/ sub-directory from the configuration.

2. After you move it, if you install CDSEO that will remove the home.php part for you ,and also provide you with all the tools necessary for a well optimized site. Alternatively, you simply need to put this in your .htaccess file:

DirectoryIndex home.php


All times are GMT -8. The time now is 02:19 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.