Jump to content

(SOLVED) Change a URL title


hippooflove

Recommended Posts

Hi

 

I have a problem that I cannot get my head around.

 

The issue surrounds the web page http://www.homesteadandgarden.co.uk/1-home.'>http://www.homesteadandgarden.co.uk/1-home. I want to make the page address

http://www.homesteadandgarden.co.uk

 

This would solve a few problems on my site, I think!!!

 

Please can somebody explain how to change this?

 

thank you in advance.

Link to comment
Share on other sites

So you want the first page someone sees to be the home category instead of the homepage? I suggest that you make a backup of index.php, then copy category.php to index.php and then add the following to the top of the modified index.php file:

 

$_GET['id_category'] = 1;

 

This should load the home category when index.php is loaded.

Link to comment
Share on other sites

So you want the first page someone sees to be the home category instead of the homepage? I suggest that you make a backup of index.php, then copy category.php to index.php and then add the following to the top of the modified index.php file:

 

$_GET['id_category'] = 1;

 

This should load the home category when index.php is loaded.

Thanks for the reply Rocky.

Not sure If I explained what I need to do very clearly.

on my site Homestead when you enter you are taken to home page. then if you click on an item it takes you there okay. This is where the problem starts.

When you click on the "HOME" tab at the top it takes you to a sub cat page instead of the home page.

What I am trying to do is get rid of the sub cat page and goto the real home page.

I am not even sure where I locate that information to change it.

Hope that explains it a little better

 

Barry

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...