Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Pretty Permalinks, htaccess, and the ata-images folder (http://forum.bytesforall.com/showthread.php?t=22664)

Poorman Jul 21, 2014 01:57 PM

[SOLVED] Pretty Permalinks, htaccess, and the ata-images folder
 
Hello and thanks to everyone that has contributed to this forum. I'm learning WP and have had many of my questions answered here just browsing through posts. But I finally have a question I haven't found the answer to:

I just changed to Pretty Permalinks, and updated my htaccess file manually. On the homepage everything looks fine. However if I click on a post or category, the background and a few other images aren't coming up. So it would seem that it doesn't know to look in the 'ata-images' folder for these other pages.

My wordpress url is: systemaddict.webfactional.com
My site url is: systemaddict.org

Any help is greatly appreciated.

juggledad Jul 21, 2014 06:43 PM

you have two different domain names?
how are the two domains related?
where does each domain name point to? ie what folder?
where is the htaccess file?
what is the permalink you areusing

The ata-image location is only for the header images, logo and favicon. Other images in your posts are stored by wordpress in the media files (wp-content/uploads)

also can you provice an exact url showing the issue.

Poorman Aug 4, 2014 03:45 PM

Hello juggledad, thanks for your response. Please ignore what I said about having 2 different URLs and the htaccess file. I thought that setting was some sort of domain forwarding thing but I have since changed them both to systemaddict.org

My problem is with the background image, not the images for posts. But yes I do have that image in the 'ata-images' folder. I have this line in the setting Overall Style & Config.>Body, Text & Links>Body Style

background: url(wp-content/ata-images/bgmain.jpg) repeat top left;

And everything is fine. But if I change the permalink structure, that image no longer shows up when I go to one of my category pages (mixes, songs, etc.). You suggest I put this image in the "wp-content/uploads" folder? Can I just FTP them there or should it be uploaded through the WP interface?

The URL with the issue is my site URL (http://systemaddict.org/). However because the site is live I have set it to the default permalink structure so it isn't displaying the problem right now. If you would like to see the problem I will switch it over at your request. My apologies for the delayed response, I thought I was subscribed to this thread, but am now and will respond immediately.

juggledad Aug 4, 2014 05:16 PM

I have a little time to look at it tonight if you flip it over.

Poorman Aug 4, 2014 05:32 PM

Thanks so much.

I have switched it over. So when you click on one of the categories (songs, mixes, etc.) you will see the background goes away that I defined in Overall Style & Config.>Body, Text & Links>Body Style

background: url(wp-content/ata-images/bgmain.jpg) repeat top left;

and also some of the widget text headers I created using this in the CSS (Calendar, Newsletter, etc.):

div#menu2 ul.rMenu {
background: url(wp-content/ata-images/2E2E2E-60.png) repeat top left;
border: transparent;
border-top: solid;
border-left: solid;
border-right: solid;
border-width:3px;
}

Thanks for your help.

juggledad Aug 4, 2014 06:40 PM

you need to change
HTML Code:

background: url(wp-content/ata-images/bgmain.jpg) repeat top left;
to
HTML Code:

background: url(/wp-content/ata-images/bgmain.jpg) repeat top left;
note the '/' before wp-content'

Poorman Aug 4, 2014 07:50 PM

Wow, a single-character solution, I love it.

Thanks for your help, I can't imagine how many hours I would have spent on this.


All times are GMT -6. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.