Jump to content



Photo
- - - - -

Changing the website hierachy

hierachyseo

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1   Roryaro

Roryaro
  • Members
  • 8 posts

Posted 30 March 2016 - 12:32

Hi,
 
I've heard that website hierarchy is important for SEO and for getting crawled by Google. My website uses osCommerce and PHP version 5.6.
 
At the moment the website looks like this:
www.websitename.com/page_xyz
 
However I would like it to be structured so that if page_xyz were accessible within categoryA, the URL would look like this:
www.websitename.com/categoryA/page_xyz
 
Does anyone know how to do this (without going through page per page)? I've heard that it might be possible by going through the two configure.php files, but I don't know whether this is correct or not. (I also have next to no PHP experience).
 
Any help would be much appreciated.
 
Many thanks,
 
Rory
 


#2   Jack_mcs

Jack_mcs
  • Members
  • 28,382 posts

Posted 30 March 2016 - 13:20

That can be done with Ultimate SEO and maybe with SEO 5, though I don't use it and can't say for sure.



#3   bruyndoncx

bruyndoncx

    osCommerce Teenager

  • Members
  • 3,786 posts

Posted 30 March 2016 - 14:55

ultimate seo

KEEP CALM AND CARRY ON
FYI Upgrade to the highest PHP version you can( PHP 5.5/5.6 or 7.1  and get big performance improvements for free)

But be aware php 5.5 is more strict about things.
UTF8-without BOM, no extra spaces allowed at the beginning or end of your php file, or your redirects wont work.
No double declarations of functions allowed - used to slip through the cracks ...

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt


#4   Roryaro

Roryaro
  • Members
  • 8 posts

Posted 04 April 2016 - 08:48

Thanks both of you. I'm gonna give it a try.

 

I noticed the author of the latest version (Bobby) was banned from one of the forums. Does anyone know why?

 

Thanks,

 

Rory


Edited by Roryaro, 04 April 2016 - 08:52.


#5   Jack_mcs

Jack_mcs
  • Members
  • 28,382 posts

Posted 04 April 2016 - 11:52

He was banned for a battle he got into with Harold, the owner of oscommerce.



#6   Roryaro

Roryaro
  • Members
  • 8 posts

Posted 04 April 2016 - 15:09

Thanks @Jack_mcs. Good to know. (I mostly asked in case there were anything wrong with the code he had posted etc.)

 

Thanks,

 

Rory


Edited by Roryaro, 04 April 2016 - 15:09.


#7   Jack_mcs

Jack_mcs
  • Members
  • 28,382 posts

Posted 04 April 2016 - 15:53

No, there's nothing wrong with the code. It is a solid addon used by many sites.



#8   MrPhil

MrPhil
  • Members
  • 7,012 posts

Posted 08 April 2016 - 14:54

I recall seeing some earlier discussion about Google paying more attention to the page hierarchy. It sounds like they want something like the breadcrumb navigation to be reflected in the directory hierarchy, regardless of whether that truly shows the physical location of the file?



#9   burt

burt

    I drink and I know things

  • Community Team
  • 12,492 posts

Posted 08 April 2016 - 14:57

1. Forget changing your URLs.

2. Microdata your Breadcrumb.

 

Do this and Google will list your heirarchy rather than your URL.


This is a signature that appears on all my posts.  It is not specifically aimed at you.

 

IF YOU MAKE A POST REQUESTING HELP...please state the exact version of osCommerce that you are using. THANKS
 
If you are still on the old style osCommerce, it is time to move to Responsive.