Solved

Joomla rewrites all my links

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses four methods for overlaying images in a container on a web page
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 how to look for a specific file type in a local or remote server directory using PHP.

856 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