Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
* * * * * 1 votes

How To Put Custom Titles To Rewritten Urls


  • Please log in to reply
5 replies to this topic

#1 BeGlobal

BeGlobal

    HR 4

  • Active Members
  • PipPipPipPip
  • 154 posts
  • Location:Peru

Posted 24 October 2012 - 01:21 PM

Hi,

I am working on a site with properties ordered by city. In the footer, it had links pointing to search results pages, for example the link: "Properties in Toledo" links to the results when searching for properties in Toledo.

I used mod_rewrite to make these search results pages look static, however when you go to these pages, they have the same default title tag. Is there a way to put unique meta titles to each one of these pages?.

Best,
Carlos.

#2 torka

torka

    Vintage Babe

  • Moderator
  • 4,636 posts
  • Location:Triangle area, NC, USA, Earth (usually)

Posted 25 October 2012 - 11:02 AM

I would think that would depend on the template/CMS you're using to generate those search results pages?

--Torka :propeller:

#3 BeGlobal

BeGlobal

    HR 4

  • Active Members
  • PipPipPipPip
  • 154 posts
  • Location:Peru

Posted 25 October 2012 - 11:18 AM

I would think that would depend on the template/CMS you're using to generate those search results pages?

--Torka :propeller:


Can I post the link?

#4 BeGlobal

BeGlobal

    HR 4

  • Active Members
  • PipPipPipPip
  • 154 posts
  • Location:Peru

Posted 25 October 2012 - 11:38 AM

http://www.my-domain...=9&provincia=29

Was a results page showing all the homes in city=29

It was rewritten and now it looks like:

http://www.my-domain...cas-toledo.html

But the title tag is a default one, I would like it to have "Fincas Rusticas Toledo" as title.

Is there a way to do this? or am I getting it all wrong?


Best,
Carlos.

#5 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 7,105 posts
  • Location:Blackpool UK

Posted 26 October 2012 - 08:16 AM

Is there a way to do this?


Probably. The how depends on what your URLs are created by.

#6 torka

torka

    Vintage Babe

  • Moderator
  • 4,636 posts
  • Location:Triangle area, NC, USA, Earth (usually)

Posted 26 October 2012 - 10:17 AM

Exactly as Chris says. If I'm hearing you correctly, these are search results pages which would be dynamically generated depending on the search terms the visitor enters, right?

I don't know if you'll be able to specify the exact title for the page in advance. You don't know in advance what search terms each person will be entering or what items will show up on the page. But (just as a "for instance") you should be able to create a page template that echoes their entered search terms in the title.

--Torka :propeller:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!