Solved

Joomla rewrites all my links

Posted on 2011-03-10
1
353 Views
Last Modified: 2012-06-21
In my Joomla site I need to link to this page:
 http://www.midohiosurgical.com/index.php?option=com_content&view=article&id=75&Itemid=130

Joomla always rewrites my link some other way which doesn't work.

if I type this: index.php?option=com_content&view=article&id=75&Itemid=130
the link goes here:
http://www.midohiosurgical.com/component/content/

and if type this: index.php?option=com_content&view=article&id=75
the link goes here: http://www.midohiosurgical.com/component/content/article/75

This link is in the body of an article. Is there any way to get Joomla to go to this URL address: http://www.midohiosurgical.com/index.php?option=com_content&view=article&id=75&Itemid=130
without rewriting it?

Thanks
0
Comment
Question by:elliottbenzle
1 Comment
 
LVL 13

Accepted Solution

by:
joomla_php earned 500 total points
Comment Utility
It sounds like the SEF is set to on but the .htaccess is not ready. Do you have an htaccess.txt or an .htaccess file?

It should be .htaccess and the contents should be

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

or go to config and turn sef off.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now