Is there anyway to completely block non-sef urls?

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
andy fev
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Mon Jun 12, 2017 4:09 am

Is there anyway to completely block non-sef urls?

Post by andy fev » Fri Oct 19, 2018 3:52 pm

If I enter a non-sef url while SEF is enabled, the pages show up. The pages also show up if I use a url as component/content/article/25. This seems like a possibility for duplicate URLs in searches.

Is there a method to re-route those urls to the sef only?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37282
Joined: Sat Apr 05, 2008 9:58 pm

Re: Is there anyway to completely block non-sef urls?

Post by Webdongle » Fri Oct 19, 2018 4:23 pm

The search results will always show (if one exists) the sef url. You may also find extensions that search based on menus?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
effrit
Joomla! Guru
Joomla! Guru
Posts: 846
Joined: Sun Nov 12, 2017 2:21 pm
Location: middle of Russia
Contact:

Re: Is there anyway to completely block non-sef urls?

Post by effrit » Fri Oct 19, 2018 4:55 pm


andy fev
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Mon Jun 12, 2017 4:09 am

Re: Is there anyway to completely block non-sef urls?

Post by andy fev » Sat Oct 20, 2018 8:29 am

Thanks for the tip @effrit. I'll see if that ext does the job.

@webdongle I haven't yet seen a duplicate url penalty yet, but I am concerned that those "bad" urls could potentially be returned.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37282
Joined: Sat Apr 05, 2008 9:58 pm

Re: Is there anyway to completely block non-sef urls?

Post by Webdongle » Sat Oct 20, 2018 9:29 am

andy fev wrote:
Sat Oct 20, 2018 8:29 am
... I haven't yet seen a duplicate url penalty yet, but I am concerned that those "bad" urls could potentially be returned.
If you are referring to search engine results then submit a sitemap. Although the question must be asked ... how important are the search engine results (for almost infinite words/phrases) compared to brand awareness from advertising ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

andy fev
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Mon Jun 12, 2017 4:09 am

Re: Is there anyway to completely block non-sef urls?

Post by andy fev » Sat Oct 20, 2018 8:41 pm

@webdongle, I just don't want the penalties popping up later. As I said, I don't know that anything will go wrong, but with multiple URLs available to a single destination, it triggers concern.


Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”