Would really appreciate some help with the above.
Currently have a dev site that is using WordPress as engine.
Recently, when viewing the source code, certain css and js required files are being output into the page source, instead of the usual link to each file.
This is creating a source file some 20000 lines long.
It doesnt happen when viewing on my localhst Xampp machine.
Both sites are running the latest version of WordPress and Latest version of PHP.
Both are using exactly the same theme files too.
I just dont know why this is happening and wonder if anyone can shed light?
Live dev site is at live dev site
Also, just noticed, its not happening in Firefox.
I checked right now and I see all CSS and JS is are usual links to files. And your page have only 356 lines.
Maybe you see the cached version of the website in your browser? Try to refresh with ctr+f5, try to clear all cache in WordPress.
Related
My Nextcloud Website sometimes shows the css instead of the index.php file. Once I clear the cache of the website in my browser it loads properly.
This is how the site loads
Inside browser Dev-Tools Note the filetype CSS for /apps/files.
After clearing the websites cache from the network section of dev-tools Note the same path /apps/files is now html
The website uses PHP8.1 and Apache2 2.4.52 on Ubuntu.
I have noticed this behaviour on all browsers and platforms.
Is this a php module missing or not loading correctly?
Is this a problem with my rewrite rule to remove 'index.php' from the url?
It this a problem with the way the website is cached, e.g. nextclouds fault?
I wasn't able to find any resources to that kind of behaviour and my topic in the nextcloud forum has not got any answers so far. I am out of Ideas.
My recently downloaded-to-MAMP WP site is not displaying any CSS, styles, themes, or images. The live site broke after a PHP upgrade. After some panicking, I downloaded the WP site (all files, manual installation, FTP download) and exported the database. After a lot of trial and error, I got it just about running on the MAMP localhost, with PHP back at 5.6 (site broke on 7.0).
I did not install Wordpress directly, simply the root directory from the live server in the MAMP localhost folder. The site is displaying the text, line breaks, paragraph breaks, and image holders, but no styles or grid or anything - bare HTML.
A quick check with the inspector shows that the image-holders are pointing to the correct path for images, and the images are in the relevant folder in Uploads.
I tried deleting all plugins from wp-options, and changing themes in the database too.
I can't access wp-admin either - too many redirects. The site is obviously connecting to the database, styles.css is in place, the theme is named correctly, I have tried reverting to twentyfourteen too. No joy. Any thoughts? I can't move it back to the original server space now either and revert to the older PHP either.
Do you have a Full backup of any state of your Site? Did you check wether the PHP versions of Mamp and WordPress match exactly? Try to install a clean version WordPress on Mamp and then insert the databases. Don’t forget to change your WP config file to the local host address that MAMP is using.
So I have just managed to download/setup Magento on XAMPP but I have no images on the back or front of the CMS. I have looked into the directories and there are no images where they should be.
I don't understand why this would be because I downloaded the files from the official website.
It's also running really slow :/
What could be causing how slow it is running and where would I get the images and missing js from? why would it be missing?
have a problem with wordpress, when i try to go to my website from safari browsers it redirect me to another webpage, not mine. When i go to my webpage from PC and it's browsers, like google chrome, IE - everything is all right. .htaccess file i haven't got.
Need help, in which file i can find a problem?
Problem was in the theme configuration file, have download and install new theme, and everything is all right
Do you have any plugins running that potentially redirect based on user-agent? Maybe W3 Total Cache?
I am trying to make very quick and easy css changes to a website that is wordpress site. I dont want make them while the site is live. is there a way to make them locally and then upload? what do you recommend?
people tell me that doing it locally is a big hassle because of the way the server is. is there a plug in that will let me make changes without them going live?
Thank you very much in advanced...sorry this is my first time with wordpress
What you can do is the following:
a) Install wamp server on your pc. (google where to get it)
b) Install a version of wordpress locally - in case you already have a version online that want to work on you will have to transfer it locallly. check this: http://codex.wordpress.org/Moving_WordPress
Actually you are saving your wordpress database, download all the files inside your wamp\www folder and then import the database through phpmyadmin to your local wamp server and change a couple of options in the db > options table (there are two options to change the website that is loaded so that it looks locally)
c) Your work on the offline version. I assume you mean that you need only styling, so you can edit your style.css file. As soon as you are pleased with it, you just upload it on your web server replacing your old file!
same as #scooterlord .
You can use nginx and php-cgi too on your Windows if ya wanna move to nginx in future.
Just install wamp then then download Wordpress version and then download your theme or plugin on which ya wanna work.
So ya will able to work offline and its not effect ur website.
yeah. I ya download db from ur site u need to change url of wordpress in DB.
u can do it by using phpmyadmin.
or by using These lines in your themes function file.:
update_option('siteurl','http://your.site.url:port/yourblog');
update_option('home','http://your.site.url:port/yourblog');