dtlevin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: http error 500 after installing wordpress on subdomainInternal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to
/wp-content/themes/
and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.If that does not resolve the issue, it’s possible that a
.htaccess
rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the.htaccess
file. If you can’t find a.htaccess
file, make sure that you have set your SFTP or FTP client to view invisible files.If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Forum: Fixing WordPress
In reply to: White space above and below home page slider on devicesIf you want the image on the slider to take up all of the space then you need to set the background image size to “cover”, right now it is set to “contain”. There should be a place in the slider admin panel that let you choose that. If not you can always overwrite it in the css. Somethling like this should work
.et_pb_slide { background-size: cover !important; }
Otherwise if you want to keep it contained then you need to do a few things
You will need to write some media queries to adjust the css.Here are the 2 tage I found a problem with
<div class="et_pb_container clearfix" style="height: 960px;">
You need to overwrite the style=”height: 960px”. You can do something like
@media only screen and (max-width: 600px) { .et_pb_container.clearfix { height: 100% !important; } }
Then you need to overwrite this one
.et_pb_slide { height: 100vh; /* the 100vh sets the slider to 100% of the view height or window height that is why it is taking up all that room */ }
With something like this
@media only screen and (max-width: 600px) { .et_pb_slide { height: 100%; margin-top: 135px; /* adjust this number to fit as you would like. You might need to different media queries at different sizes as your header changes */ } }
This is just a quick and dirty fix but should point you in the right direction.
Here is a good article on Media Queries if you need to brush up
https://www.emailonacid.com/blog/article/email-development/emailology_media_queries_demystified_min-width_and_max-width- This reply was modified 7 years, 3 months ago by dtlevin.
Forum: Installing WordPress
In reply to: WordPress in domain path subfolderThis article explains how to point to a level up from where WordPress is installed.
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory- This reply was modified 7 years, 3 months ago by dtlevin.
Forum: Fixing WordPress
In reply to: Error establishing a database connection after update t2 4.9.1can you post a link to your site?
Forum: Fixing WordPress
In reply to: PermalinksWordPress will automatically give it a “Slug” when you save based ont he title if nothing is in the “Slug” area when you save.
If you don’t want it to have the permalink that is the title just type any slug you want into the slug box and save that. Then you can save another page with that slug if you want to use it somewhere else.
Forum: Fixing WordPress
In reply to: Migration Home Page IssueHave you set your “Your homepage displays” on the new site yet?
Log into to the admin panel and go to “Settings > Reading” and make sure you have to proper page set.
Forum: Installing WordPress
In reply to: Installing Over Another SiteYou can also install it into a directory and then just replace the index and .htaccess files in the root domain to point to it when you are ready to go live. Just rename the index.php and .htaccess files that are there to -old or something in case you need to switch back. Make sure you have a backup before you do any of this work on your site and make copies of the files you work on as well.
So you have your original site here:
https://www.example.com/New site you want to work on goes here:
https://www.example.com/wordpress/When you are ready to go live:
Go to the General Screen.
1. In WordPress address (URL): set the address of your main WordPress core files. Example: https://example.com/wordpress2. In Site address (URL): set root directory’s URL. Example: https://example.com
Click Save Changes. (Do not worry about the errors that happen now! Continue reading)3. Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file. If you are running WordPress on a Windows (IIS) server and are using pretty permalinks, you’ll have a web.config rather than a .htaccess file in your WordPress directory. For the index.php file the instructions remain the same, copy (don’t move) the index.php file to your root directory. The web.config file, must be treated differently than the .htaccess file so you must MOVE (DON’T COPY) the web.config file to your root directory.
4. Open your root directory’s index.php file in a text editor
Change the following and save the file. Change the line that says:
require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
to the following, using your directory name for the WordPress core files:
require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );5. Login to the new location. It might now be https://example.com/wordpress/wp-admin/
6. If you have set up Permalinks, go to the Permalinks Screen and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
- This reply was modified 7 years, 3 months ago by James Huff.
- This reply was modified 7 years, 3 months ago by dtlevin.
- This reply was modified 7 years, 3 months ago by dtlevin.
- This reply was modified 7 years, 3 months ago by dtlevin.
Forum: Installing WordPress
In reply to: Impossible installationYou should create a php.info page to get the information about your system and if it doesn’t run then you probably have a problem with php running. Create a page called “pageinfo.php” in it paste this code
<?php // Show all information, defaults to INFO_ALL phpinfo(); ?>
upload it to the home directory and then go to that page in your browser and you will see everything you need about php on your system.
Here is a link to more informationhttps://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page
Forum: Installing WordPress
In reply to: How do i install WordPress?If you just want to work on WordPress on your desktop and have a mac you can use ServerPress and it will set it up for you
https://serverpress.com/