Solved

Joomla rewrites all my links

Posted on 2011-03-10
1
359 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

735 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