Julian Fox (greataussiepie)
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't add or update a page.If your going to do a clean install remember to you can
- export all posts and pages to later import
- make a copy of the ‘uploads’ media folder inside wp-contents and upload just the media after install
It’s similar to a back up but should leave any problems behind. Safe to do a normal backup as well.
Good luck!
Forum: Fixing WordPress
In reply to: Problems moving from FrontPage to WordPresshttps://codex.www.ads-software.com/WordPress_Lessons – This resource is fanatastic as well.
Forum: Fixing WordPress
In reply to: Can you still access html in 4.1Ah i see,
First i would ask what theme are you using? and then i might be able to tell you if/how to do that in a settings panel.
I’ll explain how you ‘might’ go about doing that another way so you can consider your options.
first its important to know that when you look at the HTML of WordPress in Inspector, you are looking at a ‘compiled’ version of WordPress, and to actually access the HTML code you must understand that the HTML code is split up into seperate files, for example, the
<title> </title>
tags for a WordPress site are almost always found in the header.php file inside the themes folder.edited: Generally there are not .html files used with WordPress, instead all HTML code is placed inside .php files, and these .php files are loaded depending on which links you click. a .php file will contain HTML and that HTML will be rendered based on certain conditions which are set by the PHP code that resides inside the .php files along side the HTML code.
Go into your website root directory or the directory linked to the subdomain where WordPress is installed and find the wp-contents folder. Go into wp-contents and you will see a folder called themes, go into this folder and you will see more folders, these folders will be labelled as the theme names that you can preview and activate from within the WordPress dashboard Appearance > Themes.
I recommend making a backup of any theme you wish to modify and consider making a child theme – see below. The first file i recommend you to have a look at is index.php and then single.php, these are the two main files that make your website work, and you will find HTML code in there.
Finding the href to the main site will probably be in header.php.
Check out these resources to get a better explanation:
- WordPress Template Hierarchy Explained – 7 mins – https://www.youtube.com/watch?v=-AO5jBsUpJY
- Template Hierarchy – start here – https://codex.www.ads-software.com/Template_Hierarchy
- Page templates – lets get serious – https://codex.www.ads-software.com/Page_Templates
- Child Themes – you can totally edit HTML and make your own stuff – https://codex.www.ads-software.com/Child_Themes
Forum: Fixing WordPress
In reply to: Problems moving from FrontPage to WordPressHi dreneri,
I remember using FrontPage when i very first started tinkering with websites, it was great. I want to do the best I can to give you a few pointers about WordPress, and being someone who knows FrontPage, hopefully my explanations will be somewhat relatable.
by the way, revirene.org looks great, I can see the donate button and the whole site is looking real nice.
Based on what you have said here is some info i think will be most helpful to you. Also remember the main difference between WordPress and FrontPage is that with WordPress you have to edit in the dashboard and preview or view your website by visiting the website url, as appose to FrontPage where you can preview on the SAME screen as editing.
Widgets
- ‘Enable Accessibility mode’ when on the widgets page: This feature is really great, it gets rid of the drag and drop mechanics on the widgets page and replaces it with a step by step form, now each widget has a ‘Add’ button next to it and clicking that button takes you to a uncluttered screen with fewer options. Which makes things a little easier.
To do this, when on the Widgets page, click the ‘Screen options’ button in the top right hand corner of the page, and then click ‘Enable accessibility mode’
Saving and Publishing
- The first thing i didnt get when i was using WordPress for the first time was, when i’m editing a page, why can’t i see all the colors and page elements when i’m editing and publishing text for a page. In FrontPage you could edit the website directly and see all the colors, fonts and page elements while you are editing. This is not the case for WordPress (although it does have some limited features like that), you can only edit a page in ‘text only’ mode. So lets say you are editing a page and you want to see what it looks like, you have two options, 1. Click ‘View Page’ or 2. Click ‘Preivew’, which is just above the publish button.
Changing page elements like buttons and widgets
- The next time you want to change somethiing, experiement with the feature ‘Customiser’. When in the WordPress dashboard go down to Appearance > Customise, this feature allows you to change page elements around in a visual mode, similar to FrontPage.
Adding special elements such as buttons and PayPal links
- The next time you want to add something like this, try typing into google exactly what you want, so for example: ‘How do i add a paypal donate button to my WordPress menu’ or ‘PayPal donate button WordPress plugin‘. Usually there is a plugin that makes things easy, once you have done this a few times you will see that you can generally find a free plugin to suit your needs within the first 4-5 google search results, installing a plugin is super easy.
Bandwidth Usage
This issue can be solved in a few ways, here is are two commonly used solutions:- By using a type of WordPress plugin called a Content Distribution Network or CDN, most of your images and website files will be automatically stored on various servers besides your own, distributing the bandwidth and load on your server.
- By using a plugin like Jetpack – Photon and WP Super Cache you can quickly and easily reduce the load on your server. go into your WordPress dashboard, go to Plugins > Add New and search for these plugins and then click install and your good to go!
Forum: Fixing WordPress
In reply to: Data is in server but WordPress won't find anythingNo Worries ??
Also double check that the index.html file, it should be index.php. Maybe there is a caching plugin installed that produces .html files, in this case i would refer to the documentation for that plugin, but my first guess would be to delete the .html files and let WordPress run naturally by executing the default .php scripts. – that was the short version, im tired too, goodluck!
let us know how you go.
Forum: Fixing WordPress
In reply to: Portfolio Pictures take a long time loadingHi,
Are you using Jetpack? if so i recommend using the feature ‘Photon‘, look for Photon in the list of settings after activiating Jetpack.
Also you could experiment with some caching plugins, WP Super Cache – Automattic is a contributor so ya know it will work well, its worked well for me.
Forum: Fixing WordPress
In reply to: Data is in server but WordPress won't find anythingHi,
If your site was hacked I recommend contacting your host to solve this issue because there could be some tricky things at play here (hopefully just a mis-configured wp-config.php file and nothing bad).
Some possible reasons why you can see media files and folders on the server but cannot see the same media files when logged into WordPress could be:
- The wp-config.php file that tells WordPress which database to connect to has been mis-configured or changed, and is connecting to an empty WordPress database.
- If your site was hacked perhaps the person who gained access has moved or changed some files around, have you looked inside all the folders in your root directory? are there any other WordPress installations in there?
There could be other reasons, but its probably something of this nature because the problem you describe is certainly odd. When you type in mywebsite.com/wp-login.php it has to be using the wp-config.php file in the same directory so to double check where your database is have a look inside the wp-config.php file, make sure these details match up with the details in phpMyAdmin.
Forum: Fixing WordPress
In reply to: Adding search to my website, please help!Try using a plugin to solve this problem, theres a lot of code there ??
Jetpack does a great job at searching with OMNI search and i believe it renders search results to the_content so your theme should support it.
sorry i couldn’t help anymore than that, this might be better suited for the theme forum.
Forum: Fixing WordPress
In reply to: '406 Not acceptable' error then 'This webpage is not available'Hi,
I checked clearenglish.com.au and it seems to be working now – although it seems to be a fresh install which leads me to think you have resorted to reinstalling WordPress.
I hope you get the site back up soon. Incase you run into this problem again in the future or if you upload the old website folders and this problem occures try the following:
A 403 error could indicate a few things, and one of those things could be that a Theme or a plugin could be causing WordPress to do some weird stuff on the server.
- Using an FTP Client or your web hosts file manager, go to the wp-contents folder inside your websites root directory. Inside here rename the folder ‘plugins’ to ‘stop.plugins’
- If you have a custom theme Again using an FTP Client or your hosts file manager, go into the themes folder located in the wp-contents folder. Rename your custom theme folder to ‘stop.themename’. (do not rename the theme folder itself)
Performing these two steps will cause WordPress to automatically disable all plugins, and revert the theme to the default twenty fifteen theme (or twenty fourteen/thirteen, whatever happens to be in there).
Don’t hesitate to create a new topic if you need assistance restoring your website. Goodluck!
Forum: Installing WordPress
In reply to: new update for 4.1Hi kaymistress,
If you are refering to your host ‘backup’ feature for WordPress blog, there is one thing you have to check:
Does my host backup feature, backup the database AND the files that WordPress uses?
I would assume that your host does indeed backup the WordPress files and the WordPress database, especially if you are already backing up forums and blogs like WordPress that use a database (if u have backed up WordPress in the past, then yep you are good to go!). If your hosting company provides well documented help files, then searching this term in google will probably give u the answer straight away
does My-Hosting-Company-Name back up WordPress?
Caution: For security reasons, it is recommended to always update WordPress, as older versions could have security holes that are well known.
At the very least please install this plugin – https://www.ads-software.com/plugins/updraftplus/ – and do a manual backup of your database, have it sent to your email and then update WordPress.
Forum: Fixing WordPress
In reply to: Can't add or update a page.I don’t want to send you on a never ending wild goose chase, but another possible thing you could try is this:
Using your hosting company PHPMyAdmin user interface, create a brand new database, an a new user with global privileges, and then make a backup copy of your wp-config.php file, and then put in the new database and username settings. – now see if u can make new posts – This will narrow down if it is a problem with WP files or the database itself, if this works, it may help you to further trouble shoot the problem.
Restore your old wp-config.php file to switch back to your old database.
https://codex.www.ads-software.com/Editing_wp-config.php#Default_wp-config-sample.php
Forum: Fixing WordPress
In reply to: Can't add or update a page.It would be a good idea to contact the support channel of your hosting company.
After eliminating all those other possibilities, it could very well be anything, it could even be an issue with MySQL and the settings inside wp-config.php, maybe the capabilities set inside PHPMyAdmin for DB_USERNAME has changed.
Good luck, sorry i couldnt help.
Forum: Networking WordPress
In reply to: Sub-directories can't login wp-adminHi,
Can i please confirm, are you attempting to run a WordPress Multisite installation? If so continue reading, if not then please provide more information before taking the below advice.
I had the same problem today and i changed two things which fixed it. In my .htaccess file there seemed to be a small error
Firstly I set my permalinks to default, then Day and Month, and then to Post Name – this prompts WordPress to re-write the .htaccess file.
Secondly In my .htaccess file I had to change it from this:
<IfModule mod_rewrite.c> # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]</IfModule> # END WordPress
to this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] </IfModule> # END WordPress
Notice how i moved
</IfModule>
down one line, and then removed the white space in-between START & END WordPress. I have no idea if this was the root cause of the problem, but it worked.Forum: Fixing WordPress
In reply to: Permalinks broken after moving from localhostyou mentioned that you got everything working with the structure https://myname.com/blog – Do you mean that they were linking like this: https://myname.com/blog/p=## and then suddenly it stopped working?
To clarify, is WordPress installed in the root directory of your website or is it inside its own folder?
To make it so your site url is always mysite.com/blog/p=## or mysite.com/blog/contact/ Go to Settings > General, and in the field labeled Site Address (URL) enter your website url like this:
– or just add /blog onto the end of the current url.
Check out these codex articles for more infoForum: Fixing WordPress
In reply to: Add Breadcrumb without a pluginHi,
I am looking at this tutorial – https://cazue.com/articles/wordpress-creating-breadcrumbs-without-a-plugin-2013
It says to put
<?php the_breadcrumb(); ?>
into theheader.php
file. I’d go with that.I would start by putting
<?php the_breadcrumb(); ?>
just before the closing div tag for ‘<div class=”container clearfix”>’.