GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Grrr I don't Get This Wordpress+Images - Help! (https://gfy.com/showthread.php?t=1117879)

nexcom28 08-09-2013 01:48 AM

Grrr I don't Get This Wordpress+Images - Help!
 
Ok, so I want to replace a few images on my wordpress blog, should be simple right?

No, it's not!

I have uploaded the replacement image via FTP and if I look at the path I can see it's uploaded fine.

If I view it on wordpress I still have the old image. I tried 2 different machines, same problem.

I then found out that if I use
site.com/wp-content/uploads/2013/03/image.png it shows the right image

But if I use
http://www.site.com/wp-content/uploa...3/03/image.png it shows the old (wrong) image

My site is setup to display www. in wordpress settings, how do I get my new uploaded image to display for site.com and www.site.com?????

:helpme:Oh crap:mad::(

RevSand 08-09-2013 02:13 AM

Simple question.. Try clearing the cache?

kane 08-09-2013 02:45 AM

You might try setting your htaccess file to rewrite so that it forces everything to use www.

I think this will look like:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

I'm not sure if that will solve your problem, but whenever someone types in anything on your domain without the www it will automatically take them to the www version.


All times are GMT -7. The time now is 07:09 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc