external links lead to a 404 error

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
User avatar
urielmx
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Mar 15, 2010 8:04 pm

Re: external links lead to a 404 error

Post by urielmx » Fri Nov 12, 2010 3:25 pm

dogzrule wrote:As a followup, to show how badly this is broken, I created an "external link" defined only as "blog". No http:// nothing. Just "blog".

You would reasonably expect this to fail as an "external link".

Yet Joomla spits out http://mydomain.com/blog

WTF???
Could you bring a link to your site an tell us if it was working fine before? Worst thing it coukd happen is that you have to re-install :-P

Cheers,
Desarrollo Web http://www.moldempresas.com
Hospedaje y Registro de dominios http://www.serveli.com

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Fri Nov 12, 2010 5:26 pm

urielmx wrote:
dogzrule wrote:As a followup, to show how badly this is broken, I created an "external link" defined only as "blog". No http:// nothing. Just "blog".

You would reasonably expect this to fail as an "external link".

Yet Joomla spits out http://mydomain.com/blog

WTF???
Could you bring a link to your site an tell us if it was working fine before? Worst thing it coukd happen is that you have to re-install :-P

Cheers,

See the previous post. The site works perfectly except for external links. There is no way I should have to re-install.

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Fri Nov 12, 2010 7:05 pm

By the way this can be easily replicated on a fresh Joomla install.

Server deatils follow :

Code: Select all

PHP Built on: 	<deleted>.com 2.6.30.1-3.AM_64 #8 SMP Thu Aug 13 10:40:51 UTC 2009 x86_64
Database Version: 	5.0.32-Debian_7etch5~bpo31+1-log
Database Collation: 	utf8_general_ci
PHP Version: 	5.2.13
Web Server: 	Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7e mod_auth_pgsql/2.0.3
Web Server to PHP interface: 	cgi-fcgi
Joomla! Version: 	Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GMT
User Agent: 	Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Fri Nov 12, 2010 7:30 pm

Here is a dummy server you can see this on. This is a free hosting account I'm not using for anything so poke around.

This is the THIRD server I have replicated this on today alone.

This is a fresh install of joomla 1.5.20

ALL settings are at default. htaccess file is default.

***nothing* has been edited other than creating a menu item in "Top Menu" called "TEST".

As you can see when you log in, it is configured to link to "www.wordpress.com".

Yet that is not the URL that Joomla 1.5.20 is generating. Obviously Joomla 1.5.20 is broken out of the box when it comes to external link menu items.

Or obviously the instructions are wrong.

Which is it? Anybody???

Here is the URL :

http://royaleadmin.lhosting.info/administrator/

Log in as "admin", password "test".

Have fun.

Let me know what if anything you find please.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: external links lead to a 404 error

Post by mcsmom » Sat Nov 13, 2010 4:26 am

Blog by itself would not be a valid external link, of course that would not work. You need to give a full protocol for any external link. That's how the web works. If you just make a link without a protocol it puts it relative to the base of the domain.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Sat Nov 13, 2010 4:33 am

mcsmom wrote:Blog by itself would not be a valid external link, of course that would not work. You need to give a full protocol for any external link. That's how the web works. If you just make a link without a protocol it puts it relative to the base of the domain.

Now, if you have an explanation as to why a fully qualified URL breaks Joomla please do tell why.

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Sat Nov 13, 2010 6:08 am

OK, first I'm sorry for wasting bandwidth and being a jack@ss.

Problem solved. I had left out the ":" - yes, I'm an idiot and I'm going to take a long vacation and clear my head.

Sorry again.

It's working fine now.

reddove
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Tue Jun 10, 2008 4:11 am

Re: external links lead to a 404 error

Post by reddove » Thu Nov 25, 2010 6:17 am

I am getting the same error 404. The address typed into Joolma's Menu setting under External like is > www.pro-endeavors.com/jobboard/ but it's coming out as >http://www.pro-endeavors.com/www.pro-en ... /jobboard/

dogzrule
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Oct 26, 2010 3:53 pm

Re: external links lead to a 404 error

Post by dogzrule » Thu Nov 25, 2010 6:29 am

@reddove -

You have to include the "http://" when defining the link. If you do that it should work.

reddove
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Tue Jun 10, 2008 4:11 am

Re: external links lead to a 404 error

Post by reddove » Thu Nov 25, 2010 6:46 am

thanks. that worked.

manojsemwal1
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Jul 12, 2011 12:06 pm

Re: external links lead to a 404 error

Post by manojsemwal1 » Thu Jul 28, 2011 12:59 pm

I found the solution of this error trying to hard.

if any body found this type of error pl check the article it is published and pending then try to put the creation date and publishing date should be same.

pl check the system date also.

it would be solve the error.

Thanks
Manoj

RobMichaelson
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Thu Jan 24, 2013 7:30 pm

Re: external links lead to a 404 error

Post by RobMichaelson » Tue Feb 19, 2013 9:30 pm

I am having the same problem but have another menu that is using the external link option and is fine - why cant I do it for another? ugggg! WHAT IS UP? is it that it is a subdomain?

flavoursupport
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jun 29, 2013 4:53 am

Re: external links lead to a 404 error

Post by flavoursupport » Sat Jun 29, 2013 5:18 am

Please let me know the exact steps to fix this issue.

Steps to recreate issue: I have created one article and included one external link in it. Also saved the the article after this modification. But when I click on the respective article page it is displaying
http://DOMAINNAME/index.php/%5C%22EXTERNALLINK%5C%22

Error: Same error 404 error
Category not found

You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address

Please let me know the exact solution to fix the issue. I have tried almost all the options mentioned above
---------
Flavour


Locked

Return to “Joomla! 1.5 Bug Reporting”