Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1694 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

SEO URL questions/suggestions

Thread title: SEO URL questions/suggestions
Reply    
    Thread tools Search this thread Display Modes  
12-31-2009, 08:10 AM
#1
SteveB is offline SteveB
Status: I love this place
Join date: Dec 2007
Location:
Expertise:
Software:
 
Posts: 723
iTrader: 29 / 100%
 

SteveB is on a distinguished road

  Old  SEO URL questions/suggestions

I am going to be working on a couple projects and I will be using SEO urls but here lies the question

When I create the page should I input the title into the table twice?

One with "-" and one without?

Reply With Quote
12-31-2009, 09:23 AM
#2
Dan is offline Dan
Dan's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 3,164
iTrader: 15 / 86%
 

Dan is an unknown quantity at this point

  Old

Personally I wouldn't include both. You can replace spaces with hyphens on the fly easy enough. However I would include the URI of each post in the database.

Then you're able to match the page they're on with the URI you have stored and if they do not match you can chuck an error. Thus preventing duplicate pages from poorly written code. (:

Reply With Quote
Thanked by:
SteveB (12-31-2009)
12-31-2009, 03:30 PM
#3
Jeff Andersen is offline Jeff Andersen
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 4,449
iTrader: 10 / 100%
 

Jeff Andersen is on a distinguished road

  Old

The only problem you run into here is when a page has the name name as another page.. this is where you need some sort of SEO slug to make it work.

Reply With Quote
12-31-2009, 05:33 PM
#4
46Bit is offline 46Bit
Status: Member
Join date: Mar 2009
Location: Yorkshire
Expertise: Web Development
Software:
 
Posts: 275
iTrader: 10 / 100%
 

46Bit is on a distinguished road

Send a message via MSN to 46Bit Send a message via Skype™ to 46Bit

  Old

Simple solution is to redirect urls with spaces in to urls with the spaces replaced with hyphens (use a 301 header), and enforce that when users are entering slugs in the admin panel by doing a find/replace on spaces > dashes.

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed