homepage Welcome to WebmasterWorld Guest from 23.20.211.153
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Hierarchical URLs and Non-hierarchical URLs
ganeshjacharya




msg:4528842
 2:55 am on Dec 17, 2012 (gmt 0)

Now days

example.com/pagename are noticed to be more popular
and they use breadcrumb URLs to improve navigation

the problem with using this convention is, this practice needs a rendering engine against the simpler FTP.

the problem now noticed with rendering engines are they are exposed to numerous SQL injections.

Trying to understand the advantages and disadvantages of the newer Non-hierarchical URLs against Hierarchical URLs i.e. its predecessor.

 

aakk9999




msg:4528912
 9:56 am on Dec 17, 2012 (gmt 0)

By "rendering engine" I assume you mean server side scripting + database.
You may or may not need this, depending on your site.

If your site is not big and the current pages are "hand coded" HTML, you may not need need server side scripting - changing internal URLs to your new format and mapping of URLs to the path of the HTML documents on your server via .htaccess would be enough. The old URLs should then be redirected to the new format using 301 redirect in .htaccess (assuming your hosting is Linux).

Otherwise you may use database and something like php + .htaccess to handle your URLs. With regards to the SQL injection, if you do not have forms that use database, you name your database and tables something not obvious and your code that access database is sanitised and you use strong database password, then SQL injection should not be a problem - the risk would be practically the same as leaking your FTP password in your current environment.

And lastly, you could use some of many open source CMS (such as Wordpress) in which case you have to read about the risk on SQL injection, follow the recommendation to sanitise and upgrade your CMS to a newer version regularly.

deadsea




msg:4528937
 11:13 am on Dec 17, 2012 (gmt 0)

"Need" is a strong word. I built a 50,000 page static site in a single directory. I ended up replacing it with a CMS system because it was easier to edit that way. The 50,000 html files in a single directory did not actually cause any problems on their own.

ganeshjacharya




msg:4528941
 11:47 am on Dec 17, 2012 (gmt 0)

"because it was easier to edit that way."

Even collaborative editors are available.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved