Solved

Joomla rewrites all my links

Posted on 2011-03-10
1
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
joomla_php earned 500 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

624 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