Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
403 error on Content Category (blog view) [SOLVED]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: 403 error on Content Category (blog view) [SOLVED] (Read 11707 times)
cfb1972
Jr. Member
Posts: 88
403 error on Content Category (blog view) [SOLVED]
«
on:
October 21, 2010, 23:48:56 »
Hi,
I'm getting a 403 page error when trying to access the sub-menu of my main menu bar. The sub-menu has been created as a link to a "Content Category (blog view)" which adds a "/blog/" prefix to my URL. Is there a way to not show /blog/ in the url?
Thanks,
Bob
the link is here
http://zimbrul.net/blog/articole-romani/cultural/
without "/blog/" the link works fine...
«
Last Edit: October 23, 2010, 23:11:16 by datahell
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: 403 error on Content Category (blog view)
«
Reply #1 on:
October 22, 2010, 13:51:52 »
if you disable the SEO RPO extension from Global Configuration of Elxis Platform are you still having that 403 page error ?
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #2 on:
October 22, 2010, 14:08:22 »
I'm not having that 403 page error if I disable SEO Pro but obviously I'm getting some uglier urls.
Is there a way to disable adding "/blog/" to the urls if the SEO Pro is acrivated and the page show cathegory blog?
It might be a problem with my previous settings when the ".../blog" was an external link to a wordpress blog (moved now at
http://blog.zimbrul.net
) and it might have problems with the fact that I've set up a permamnent redirection from ".../blog"
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: 403 error on Content Category (blog view)
«
Reply #3 on:
October 22, 2010, 14:24:18 »
1.Verify the Elxis Version that you have.
2. Download that Version from
EDC
3. Folder
includes/seopro
Replace the
com_content.php
from the zipped file to your server via FTP program like Filezilla
4. Enable SEOPRO extension.
Now tell us if the issue fixed
* /blog it's not a folder in order to change that. It is total different with your subdomain that you mention above.
«
Last Edit: October 22, 2010, 14:26:40 by WebGift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #4 on:
October 22, 2010, 14:38:15 »
I've done that and the problem persists
I understand that .../blog in Elxis is not as the previous thing but I've redirected the traffic of by ..../blog link to
http://blog.mysite
.... and it might be a problem somewhere.
So...any chance to remove the " /blog/ " bit from the url?
Logged
apkoutsou
Sr. Member
Posts: 330
Re: 403 error on Content Category (blog view)
«
Reply #5 on:
October 22, 2010, 18:38:29 »
No there is no way you can remove the "blog" string from the url and at the same time have SEO Pro enabled and showing content in a blog style!! You see the "blog" string is for telling Elxis that the content will be displayed like a blog when SEO Pro is enabled.
The only thing you can do is change the Elxis core and make Elxis understand something else than "blog" when content is to be displayed in a blog style. The only disadvantage is that each time you update Elxis, you have to redo the same changes.
The file you must change is /includes/seopro/com_content.php and lines 67, 75, 154, 474, where you must replace "blog" string (NOT THE VARIABLE NAME) to the desired string.
Logged
Bitcraft-labs.gr
- Open source applications
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #6 on:
October 22, 2010, 18:51:38 »
Thanks for the answer but I wonder what makes that to show the 403 page error?
Bob
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: 403 error on Content Category (blog view)
«
Reply #7 on:
October 22, 2010, 20:27:11 »
I think it is obvious.
You have a sub-domain named "blog" and a re-write rule in order for the sub-domain to work from
http://zimbrul.net/blog/
to
http://blog.zimbrul.net/
This generates the error in Elxis as "blog" is a reserved SEO PRO base name and there should not be any folder with that name inside your www root folder as Elxis needs to use like that:
http://zimbrul.net/blog/section_seo_title/
One way to solve this is to use the "www" prefix in the Elxis site and tell apache that the following urls are different:
http://zimbrul.net/
http://www.zimbrul.net/
In this case, this will work:
http://www.zimbrul.net/blog/
Other solutions:
- Rename your sub-domain from "blog" to something else (example: "zblog").
- Put Elxis also in a sub-domain.
- Modify Elxis SEO PRO and component content to use a different SEO PRO base name than "blog".
«
Last Edit: October 22, 2010, 21:46:41 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #8 on:
October 22, 2010, 22:03:01 »
- Modify Elxis SEO PRO and component content to use a different SEO PRO base name than "blog".
I've choosen this but now I'm getting a 404 not found error
see attached
com_content.php
file.
[attachment deleted by admin]
Logged
apkoutsou
Sr. Member
Posts: 330
Re: 403 error on Content Category (blog view)
«
Reply #9 on:
October 23, 2010, 02:22:02 »
Yes! I forgot, you have to modify also /includes/sef.php line 164... (sorry)
Logged
Bitcraft-labs.gr
- Open source applications
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #10 on:
October 23, 2010, 10:44:00 »
Not working mate...not working
Logged
apkoutsou
Sr. Member
Posts: 330
Re: 403 error on Content Category (blog view)
«
Reply #11 on:
October 23, 2010, 12:00:35 »
hmmm... It's working for me though...
What excatly happens:
1. The SEO Pro url is not created (e.g. instead of '/zblog/category-name/' you get a link like '/blog/category-name'), and/or
2. Though the SEO Pro url is created, Elxis returns a PageNotFound error (which is something that I confirmed in your
http://zimbrul.net/
site).
In case 1 you have to edit /includes/seopro/edit com_content.php - in case 2 you have to edit /includes/sef.php .
Are you sure you changed the "blog" string in sef.php to the same string as in com_content.php ?? (Sorry for asking, but I believe that the error lies there).
Logged
Bitcraft-labs.gr
- Open source applications
datahell
Elxis Team
Hero Member
Posts: 10356
Re: 403 error on Content Category (blog view)
«
Reply #12 on:
October 23, 2010, 13:02:14 »
He has to edit the component content it self (components/com_content/).
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
apkoutsou
Sr. Member
Posts: 330
Re: 403 error on Content Category (blog view)
«
Reply #13 on:
October 23, 2010, 13:15:59 »
Sure, modify:
1. /components/com_content.html.php line 473
2. /components/com_content.php lines 1382, 1384, 1437, 1439
But these lines refer to the internal context of the content to be displayed.
The problem here is that when you type e.g.
http://zimbrul.net/zblog/articole-romani/cultural/
, Elxis returns a PageNotFound error, something that should not happen if /includes/seopro/edit com_content.php and /includes/sef.php are properly modified...
On my local installation (2009.2), changing only /includes/seopro/edit com_content.php and /includes/sef.php files returned no error when typing
http://localhost/zblog/category-name/
Logged
Bitcraft-labs.gr
- Open source applications
cfb1972
Jr. Member
Posts: 88
Re: 403 error on Content Category (blog view)
«
Reply #14 on:
October 23, 2010, 14:22:11 »
I give up! It should be something wrong but I cannot say as long as I've done what you both said.
Logged
Print
Pages: [
1
]
2
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
403 error on Content Category (blog view) [SOLVED]