Forums / Basic Configuration / Page 2, 3 & 4 SiteMap/URL Change

Page 2, 3 & 4 SiteMap/URL Change

Views: 5,119

Results 1 to 17 of 17
21 Jun 2011, 9:10 AM
#1
awiss avatar

awiss

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Page 2, 3 & 4 SiteMap/URL Change

Hi

I have managed to change the name of the pages using the NAVBAR TITLE etc.. which is easy enough

define('NAVBAR_TITLE', 'Page 2');

But i now need to change their URL names so that

For Example :- Page_2.html to "About_Us.html"

and also the Site Map updates the names to something more meaningful other than "page 2"????

Please help

21 Jun 2011, 9:24 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page 2, 3 & 4 SiteMap/URL Change

If your URLs have .html on the end then you must be using a URL rewriting add-on. Best to consult the support thread for the specific add-on you're using to get the answer to this question.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

21 Jun 2011, 9:34 AM
#3
awiss avatar

awiss

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

This is what's happening at the moment.

"http://www.iss-store.co.uk/catalog/page_2.html"

However i need to change this to show about_us.html, and in turn the sitemap will show About Us rather than Page 2

21 Jun 2011, 9:35 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page 2, 3 & 4 SiteMap/URL Change

Please read my previous post, together with this FAQ entry.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

21 Jun 2011, 9:36 AM
#5
awiss avatar

awiss

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

Yes i have read thread however we dont have an add on ?!

21 Jun 2011, 9:39 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Page 2, 3 & 4 SiteMap/URL Change

Zen Cart URLs don't end ".html".

The Zen Cart URL for the page you quoted would be:
"http://www.iss-store.co.uk/catalog/index.php?main_page=page_2"

You must be re-writing the URLs somehow to get the results that you're seeing.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

21 Jun 2011, 9:41 AM
#7
awiss avatar

awiss

New Zenner

Join Date:
Mar 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

I must be totally amazing then as ever single page on our site is .html ?

We dont have an add on that does this !

3 Nov 2011, 11:37 PM
#8
simwombat avatar

simwombat

New Zenner

Join Date:
Nov 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

I am using version 1.3.9 and I am having a** similar** problem. It is not a html issue.

I want to change the name of page 2 to Size Chart and have done so in the
define('NAVBAR_TITLE', 'Page 2');as stated in the FAQ but the name in the side box remains as Page 2.

I modified the page_2.php from

define('NAVBAR_TITLE', 'Page ?');
define('HEADING_TITLE', 'Page ?');

I changed this to

define('NAVBAR_TITLE', 'Size Chart');
define('HEADING_TITLE', 'Size Chart');

I am not sure if I am to change both or not but did so as that is the way I read it.

The link in the box still reads "Page 2"

I hope you can help me with this.

Gary

4 Nov 2011, 10:22 PM
#9
001ivy avatar

001ivy

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

Hi

I was having the same problem this morning, I came across this and it worked for me so hopefully it will help you, just go down to the part that has page 2 etc

https://www.zen-cart.com/tutorials/index.php?article=134

5 Nov 2011, 12:44 PM
#10
simwombat avatar

simwombat

New Zenner

Join Date:
Nov 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

thank you for your tip that is good information as I do need to change one of the category titles. :smile:

However it is the URL link page 2 and page 3 and page 4 names I want to change not the category title. :blush:

As stated above I did try to change the php file as follows

define('NAVBAR_TITLE', 'Page ?');
define('HEADING_TITLE', 'Page ?');

I changed this to

define('NAVBAR_TITLE', 'Size Chart');
define('HEADING_TITLE', 'Size Chart');

but it still reads page 2 in the more info category box..

sorry if you misunderstood my question..

Thank You

5 Nov 2011, 12:55 PM
#11
simwombat avatar

simwombat

New Zenner

Join Date:
Nov 2011
Posts:
9
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

:oops: I apoligize. I misunderstood what you said - i realized after writing the previous message what you were saying - I went into that file to change the category name and realized That alot of changes could be made from this file. :blush:

Once again thank you so much

Gary

31 Oct 2012, 4:07 AM
#12
nerdgirlie avatar

nerdgirlie

New Zenner

Join Date:
Jul 2011
Posts:
16
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

I have successfully changed the link entitled "Page 2" to "Wholesale", and goes to Page 2 when you click on it.

I have gone into the includes/languages/english/page_2.php file to change the NAVBAR_TITLE and HEADING_TITLE. However, even if I change the HEADING_TITLE to "Wholesale", when I publish the page, the title is simply the variable name of "HEADING_TITLE".

http://thesweatmate.com/index.php?main_page=page_2

I feel like I am missing another page edit where this variable may be defined. Ideas?

Thanks!

Aurora

31 Oct 2012, 4:17 AM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Page 2, 3 & 4 SiteMap/URL Change

Looks like you have omitted the single quotes around the term

Zen-Venom Get Bitten

21 Nov 2012, 7:18 PM
#14
nerdgirlie avatar

nerdgirlie

New Zenner

Join Date:
Jul 2011
Posts:
16
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

This was an issue with COWOA; I failed to copy ALL the files over, and it was causing the issue. I recopied the files from the module, and things are working. Thanks!

16 Apr 2013, 3:24 PM
#15
freefire avatar

freefire

New Zenner

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
70
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

I am trying to do the same thing: to change the url of Page 2 to something else - in my case, it is to About Us. Somehow I have managed to do that. HOWEVER, the content (define_about_us.php) doesn't seem to be called properly although the file was uploaded. I have been looking and looking but couldn't find where to fix this problem. See here (I break the url as I don't want it to be indexed by search engines):

manufactorem [dot] com /shop/index.php?main_page=about_us

Any help is greatly appreciated! Thaaaanks!

f
with gratitude

16 Apr 2013, 4:08 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Page 2, 3 & 4 SiteMap/URL Change

There are add ons for additional pages that might help ...

About Us:
http://www.zen-cart.com/downloads.php?do=file&id=86

Define Page Generator:
http://www.zen-cart.com/downloads.php?do=file&id=566

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Apr 2013, 5:02 PM
#17
freefire avatar

freefire

New Zenner

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
70
Plugin Contributions:
0

Re: Page 2, 3 & 4 SiteMap/URL Change

Thank you sooo much! It works :) I was pretty close - missed the part to make them available in the Admin's Define Page Status section. Being a non-programmer, just couldn't figure out how :) Thank you again for your help!

f
with gratitude