Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Joomla rewrites all my links

Posted on 2011-03-10
1
Medium Priority
?
364 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 2000 total points
ID: 35097815
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

782 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