Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Dynamic content from URL
(1 viewing) (1) Guest
If you want to ask question about the product features, licensing conditions or other questions prior to purchase, please, do it here.
  • Page:
  • 1

TOPIC: Dynamic content from URL

Dynamic content from URL 9 years, 4 months ago #46657

I wonder if the following is possible with JoomSEF

I would like to generate a dynamic landing article for various locations through the use of inserting the URL Parameters throughout the content via php (i have the extension that does this already) and custom URL's however, want to control the urls to prevent anything being custom-entered.

IE:
default article = www.mysite.com/category/article
dynamic article url = www.mysite.com/category/article/arizona (or /texas/ or /maine/, etc)
however,
this would default as a '404' = www.mysite.com/category/article/sunshine (because i have not entered it 'somewhere')

An example would be www.hungryhouse.co.uk which, when you enter your location, the URL changes to include town/postcode... this is picked up by google, too. - in reverse, if you google search "hungry house me14" you see how the spidered URL's generate the dynamic page content and meta tags, etc at the site - this is essentially what I am trying to achieve.
The topic has been locked.

Re: Dynamic content from URL 9 years, 4 months ago #46667

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

You can set up custom SEF URLs manually in JoomSEF to point to an original non-SEF URL with specified variables, so for example you would create a SEF URL like:
SEF: category/article/arizona
Non-SEF: index.php?option=com_content&view=article&id=10&my_parameter=arizona

You would need to do this manually for all your SEF URLs. All the non-existent SEF URLs will display a 404 page if you disable the Joomla links parsing in JoomSEF - that means that if JoomSEF doesn't find the SEF URL in its database, it won't forward it to Joomla for processing.

You can test our free version of JoomSEF to see if it suits your needs: www.artio.net/downloads/joomla/joomsef
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný