Loading


Advertisement:

Author Topic: City based URL creation for every ads post  (Read 78 times)

Techyolk

  • Newbie
  • *
  • Posts: 16
City based URL creation for every ads post
« on: June 19, 2017, 04:06:23 pm »
Hello,

I want to generate city based URL for every ad post like this:

http://city.example.com/item_title_id (here city is the name of city which is selected as a city in address of ad post)

How it can be possible ? Kindly guide me.


Techyolk

  • Newbie
  • *
  • Posts: 16
Re: City based URL creation for every ads post
« Reply #2 on: June 20, 2017, 12:54:52 pm »
Main problem is that every ad post is accessible by another city sub-domain which is wrong. That is creating canonical issue.

here is example:

http://city1.example.com/item_title_1
http://city2.example.com/item_title_1
http://city3.example.com/item_title_1
http://city4.example.com/item_title_1
http://city5.example.com/item_title_1

and so on...

That means multiple pages are being created for one single ad post.

Kindly help me.

Aficionado

  • Hero Member
  • *****
  • Posts: 4490
  • Hardliner
Re: City based URL creation for every ads post
« Reply #3 on: June 20, 2017, 01:21:43 pm »
Main problem is that every ad post is accessible by another city sub-domain which is wrong. That is creating canonical issue.

here is example:

http://city1.example.com/item_title_1
http://city2.example.com/item_title_1
http://city3.example.com/item_title_1
http://city4.example.com/item_title_1
http://city5.example.com/item_title_1

and so on...

That means multiple pages are being created for one single ad post.

Kindly help me.

There is no other way, i'm afraid for what you ask. As for canonicals and other SEO issues, just go ahead with your site and SEO and canonicals are the least of your concern.