-
AuthorPosts
-
bossep Friend
bossep
- Join date:
- April 2008
- Posts:
- 262
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 50
- Thanked:
- 15 times in 3 posts
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
August 2, 2008 at 5:20 pm #263553Hi Cornelio,
The file names path works just find, but not for the pictures path,
still that I don’t understand is: the pictures in the articles is gone when click goback button from the browser or by reverse the click direction in the menus and submenus, seems Jazin can’t find the right path for pictures files or folders (images/images resize is 404-Article #0 not found when right click to get info for the picture address) tested on Firefox 3, Safari, Omni, Flock and Opera. But click in the articles the pictures is there?mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
August 2, 2008 at 5:22 pm #263554And Thank you Bossep,
Just changed in the JaNews as Cornelio did, but my problem as stated above:
the pictures in the articles is gone when click goback button from the browser or by reverse the click direction in the menus and submenus, seems Jazin can’t find the right path for pictures files or folders (images/images resize is 404-Article #0 not found when right click to get info for the picture address) tested on Firefox 3, Safari, Omni, Flock and Opera. But click in the articles the pictures is there?cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
August 2, 2008 at 9:55 pm #263565<em>@bossep 71191 wrote:</em><blockquote>Just a quick reply to Add suffix to URLs: YES ,
It puts .html at the URL string.
Bosse</blockquote>Thanks Bosse,
Most of my questions are being ignored. Anyway, so what is the advantage, with and without the .html suffix?
Cornelio
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
August 3, 2008 at 2:34 am #263579going back the original question the answer was that the SEF settings were wrong
set them to
Use Apache mod_rewrite: YES, Add suffix to URLs: YES.
rename htaccess file to.htaccess (yes, with a dot in front of it.)original poster, did you do this
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
August 3, 2008 at 1:17 pm #263603Thank you for your good information mj256,
This is reminds me something, I did that already (Thank you to Hainn, Cornelio and Bossep) : Use Apache mod_rewrite: YES, Add suffix to URLs: YES, and rename htaccess file to.htaccess – in this part (in the joomla user guide that we have to put: # “RewriteBase / …….” – where is the dots is the folder name where of our joomla installation folder is), but I just put # “RewriteBase / ” only (leave blank). I am using CPanel and they are in the root folder at the public_html, do you think that this is the problem? Am I missed something? Any advice?
Thank you so much guys!mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
August 3, 2008 at 4:33 pm #263619open the htaccess file and try this
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to http://www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]Please REPLACE domain.com and http://www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
mayke Friendmayke
- Join date:
- May 2008
- Posts:
- 281
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 55
- Thanked:
- 13 times in 1 posts
August 3, 2008 at 9:41 pm #263641<em>@mj1256 71294 wrote:</em><blockquote>open the htaccess file and try this
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to http://www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]Please REPLACE domain.com and http://www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.</blockquote>
———————————————————————–
Just try your version of .htaccess but it didn’t work that way on my server,
but I remember that I got another solution from joomla that works on my server as shown below:What this will do is rewrite all page requests starting with mydomain.com to http://www.mydomain.com. This way, you will avoid some duplicate contents issues (even though that is not really a problem nowadays, at least with Google), and also improve the way many editors, including JCE, will behave.
You should replace mydomain.com on the first line and http://www.mydomain.com by your own domain information of course.
Also, you should place these 3 lines just after the RewriteBase line in Joomla standard .htaccess file.
Lastly, you can also do it the other way around, that is rewrite http://www.mydomain.com to mydomain.com. To do this, simply use :# Rule for duplicate content removal : domain.com vs wwwdomain.com
RewriteCond %{HTTP_HOST} ^http://www.mydomain.com [NC]
RewriteRule (.*) http://mydomain.com/$1 [R=301,L,NC]——-
> Thank you so much MJ, to reminds me the details, the way we should handle the .htaccess.
Hopes that all of the information above might helps who had a problems like mine.> But, I’m still unhappy, coz my pictures at JaNews Frontpage still not there.
Don’t know what and where that I am doing wrong and how to fix this……………….
But as I did many times before redownload and reinstall all Teline Version coz I loved this template, maybe I should try to redo all the works again with carefully, coz at my local computer I had no problems at all with Teline V1.4 with the Quickstart.> But, what makes me happy that, all of the experties in here ‘are so great!’ had tried their best, I feel not alone at all.
Thank you Guys!!!mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
August 3, 2008 at 9:49 pm #263642you are right, there are many switches and ways to do it. Mine was as basic as I could get it. And your right, you need to find the syntax that works on your server. You can redirect in either direction, but it must agree with your default domain in google webmaster tools. if you have that set up.
I’ve found that in some cases this has fixed URL issues, especially when SEF programs are installed.
and, the redirect is specifically important for google, as they are the only one that still has the duplication penalty, but, if you set your default domain in webmasters tools, you should be covered.
(can you click the thank you button, I almost have enough for the front page :))
1 user says Thank You to mj1256 for this useful post
-
AuthorPosts
This topic contains 25 replies, has 6 voices, and was last updated by mayke 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum