Few Questiond
- Saka
-
- Offline
- Administrator
-
15 years 11 months ago #4546
by Saka
Emir Sakic
www.sakic.net
Hi,
1) Yes. Because Apache does that with directories too. If you use suffix it will not add the slash.
2) You can on only have it for all URLs right now.
3) Not necessary.
4) For alias it's best to use non-sef URL. Turn off the SEF completely in global configurations to find out the non-sef URL.
1) Yes. Because Apache does that with directories too. If you use suffix it will not add the slash.
2) You can on only have it for all URLs right now.
3) Not necessary.
4) For alias it's best to use non-sef URL. Turn off the SEF completely in global configurations to find out the non-sef URL.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- crebbo
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
15 years 11 months ago - 15 years 11 months ago #4547
by crebbo
Thanks. Could you elaborate on a few points
1) it didn't do this before with joomla default. I have a page that google page rank is lost if it has a trailing slash but without has the page rank?
2) I understand it's only possible on all URLs for now but if I create an alias for a URL should that alias not be references throughout the site as the main URL to the article? As I only want numerical urls on news articles.
4) what I meant was, that with suffix turned on, how can I create custom meta data for an article? If I don't want the sef advance URL to change or a new alias for that article? It only currently works if I give it a different alias to the sef URL and visit the page on the new alias.
For instance, the following does not trigger the new meta data (uses old joomla meta):
no sef url: index.php?option=com_content&view=article&layout=bingoNewsArticle&id=10
alias: bingo-promotions/article-name-xxxxxxx.html (this is the url that Sef Advance gave it)
However, if i give it an alias different from the sef advance url:
no sef url: index.php?option=com_content&view=article&layout=bingoNewsArticle&id=10
alias: bingo-promotions/aliasname
if i navigate to : bingo-promotions/aliasname
the meta data works
cheers
Cheers
1) it didn't do this before with joomla default. I have a page that google page rank is lost if it has a trailing slash but without has the page rank?
2) I understand it's only possible on all URLs for now but if I create an alias for a URL should that alias not be references throughout the site as the main URL to the article? As I only want numerical urls on news articles.
4) what I meant was, that with suffix turned on, how can I create custom meta data for an article? If I don't want the sef advance URL to change or a new alias for that article? It only currently works if I give it a different alias to the sef URL and visit the page on the new alias.
For instance, the following does not trigger the new meta data (uses old joomla meta):
no sef url: index.php?option=com_content&view=article&layout=bingoNewsArticle&id=10
alias: bingo-promotions/article-name-xxxxxxx.html (this is the url that Sef Advance gave it)
However, if i give it an alias different from the sef advance url:
no sef url: index.php?option=com_content&view=article&layout=bingoNewsArticle&id=10
alias: bingo-promotions/aliasname
if i navigate to : bingo-promotions/aliasname
the meta data works
cheers
Cheers
Last Edit: 15 years 11 months ago by crebbo.
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
15 years 11 months ago #4551
by Saka
Emir Sakic
www.sakic.net
1) Right, Joomla core-SEF doesn't redirect to slash version. SEF Advance does it to replicate real Apache server directory behavior. It will redirect so your new page should quickly gain the same PR.
2) Yes it should, if you created the alias correctly-
4) Alias should be entered without trailing slash or suffix. So please use: bingo-promotions/article-name-xxxxxxx and it should work.
2) Yes it should, if you created the alias correctly-
4) Alias should be entered without trailing slash or suffix. So please use: bingo-promotions/article-name-xxxxxxx and it should work.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- crebbo
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
15 years 11 months ago #4552
by crebbo
1) Ok, accepted. Thanks for the info.
2) How do you make it so that its the main url?, I appear to be creating the alias correctly.
For instance, my url created by sef advance is:
bingo-reviews/wink-bingo-2008112441.html
but i'd like it to be: bingo-reviews/wink-bingo.html (throughout the site)
But I can now naviagte to it typing:
bingo-reviews/wink-bingo.html
bingo-reviews/wink-bingo
bingo-reviews/wink-bingo-2008112441.html
But the url i want is: bingo-reviews/wink-bingo.html with all others pointing to bingo-reviews/wink-bingo.html
BUT THE MAIN ISSUE, is when using: ContentHelperRoute::getArticleRoute(id); it refers to bingo-reviews/wink-bingo-2008112441.html as does my xmap plugin. But really it should be bingo-reviews/wink-bingo.html
Almost there.. ;D
cheers
4) ok,works cheers.
2) How do you make it so that its the main url?, I appear to be creating the alias correctly.
For instance, my url created by sef advance is:
bingo-reviews/wink-bingo-2008112441.html
but i'd like it to be: bingo-reviews/wink-bingo.html (throughout the site)
But I can now naviagte to it typing:
bingo-reviews/wink-bingo.html
bingo-reviews/wink-bingo
bingo-reviews/wink-bingo-2008112441.html
But the url i want is: bingo-reviews/wink-bingo.html with all others pointing to bingo-reviews/wink-bingo.html
BUT THE MAIN ISSUE, is when using: ContentHelperRoute::getArticleRoute(id); it refers to bingo-reviews/wink-bingo-2008112441.html as does my xmap plugin. But really it should be bingo-reviews/wink-bingo.html
Almost there.. ;D
cheers
4) ok,works cheers.
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
15 years 11 months ago #4553
by Saka
Emir Sakic
www.sakic.net
2) Yes, that's why it's called "alias". You can create redirects from other URLs to the main one if you want but the generated URLs should be as defined in alias. If they are not then something is not right. Make sure you turned off all caches and emptied them.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- crebbo
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
15 years 11 months ago #4554
by crebbo
Ok, i think something is not right.
Ive cleared all my cache (it wasnt on though) and ive set the alias up correctly but the urls within the site that are generated using ContentHelperRoute still refer to the original sef advance generated url and not the alias. Any ideas?
Ive also noticed that sef advance only appearto be applied to items in my main menu and not my other menus
cheers
Ive cleared all my cache (it wasnt on though) and ive set the alias up correctly but the urls within the site that are generated using ContentHelperRoute still refer to the original sef advance generated url and not the alias. Any ideas?
Ive also noticed that sef advance only appearto be applied to items in my main menu and not my other menus
cheers
Please Log in or Create an account to join the conversation.