Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: 7ala on December 05, 2021, 09:41:33 AM

Title: Is it possible to add an advertisement to the city in the permalinks?
Post by: 7ala on December 05, 2021, 09:41:33 AM
Is it possible to add an advertisement to the city in the permalinks?
meaning
add an ad
When adding a city
The advertisement is linked to the city and address
http://localhost/newyork
The address appears in the name of the city
I hope you understand what I mean
Thanks
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: MB Themes on December 05, 2021, 10:01:07 AM
Not clear if you want to create city URL or add coty to item url
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: 7ala on December 05, 2021, 10:22:06 AM
I want to add ads in a specific city
private page
But without using custom pages
The URL is associated with the same city name
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: MB Themes on December 05, 2021, 11:54:17 AM
If you search only for city, you get city specific URL, like:
https://plugins.abprofitrade.eu/sergeantsville-c439046
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: 7ala on December 06, 2021, 10:37:25 AM
You didn't understand what I mean
1 - URL
http://localhost/newyork
For example, according to the name of the city
http://localhost/texas
2 - This page appears without the search page
Only city-specific as a major feature.
3 - When you add an advertisement, a button is allocated
Do you want to be a separate page?
thank you
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: MB Themes on December 06, 2021, 11:42:44 AM
If you search only for city, you get city specific URL, like:
https://plugins.abprofitrade.eu/sergeantsville-c439046

I can see city name in URL  :-\
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: 7ala on December 07, 2021, 03:49:52 PM
Yes you can see the city here
https://plugins.abprofitrade.eu/sergeantsville-c439046
What do you mean the city appears without
-c439046
thus
https://plugins.abprofitrade.eu/sergeantsville
But it is not linked to the search page
what i mean
A private page that is different from the search page
I mean, each city has its own page
Title: Re: Is it possible to add an advertisement to the city in the permalinks?
Post by: MB Themes on December 07, 2021, 03:55:05 PM
Osclass require ID in URL, as there is usually many cities with same name.

But better question is, why would anyone care if there is ID in URL?