WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi, I am running techgardens.com/optical-engineering.

My client is creating pages at techgardens.com/optical-engineering/ciena, techgardens.com/optical-engineering/Infinera, techgardens.com/optical-engineering/Coriant, techgardens.com/optical-engineering/BTI, techgardens.com/optical-engineering/JDSU.

She would like, when someone clicks on a link for one of those pages, that they see the page, but the url reads  techgardens.com/optical-engineering/.

I think I can do this with htaccess, but need some help. The WP htaccess already has this:

# BEGIN WordPress
AddHandler application/x-httpd-php70 .php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /optical-engineering/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /optical-engineering/index.php [L]
</IfModule>

Can I alter that to read:

# BEGIN WordPress
AddHandler application/x-httpd-php70 .php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /optical-engineering/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /optical-engineering/index.php [L]
RewriteRule ^ciena/?$ /
RewriteRule ^Infinera/?$ /
RewriteRule ^Coriant/?$ /
RewriteRule ^BTI/?$ /
RewriteRule ^JDSU/?$ /
</IfModule>

And will that give me the result we want? Thanks!
0
Fundamentals of JavaScript
LVL 12
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Wordpress - Themes and Child themes

OK Ive got a Wordpress site that has a theme, and at some time in the past Ive created a child theme and made some changes, all good
BUT, before I knew what I was doing, I made some direct edits on files in the parent theme.

Now I've compared the live sites theme with the original factory default, and the files that have changed are....

footer.php
functions.php
header.php
style.css

So, my question is, If I coped those file to the Themename-Child directory, I should be able to update the theme without anything smashing correct?

The problem is compounded, as in the child theme I also have a functions.php and a header.php file?

From what I've read it's probably using the header.php from the child theme anyway?
But Ive also read that functions.php loads the child and the parent, so Im not sure what to do about that one?

Regards,

Pete
0
Hi, I am working with wordpress with the divi theme. I wanted the header to be a certain height, and the text to be centered vertically. I went with this CSS:
/*-----------------------------------------------*/ 
/*-----Header & Slider Alignment by Divi Soup----*/ 
/*-----------------------------------------------*/
/*Fullwidth Header*/
.ds-fw-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end ;
    -ms-flex-align: end;
    align-items: center/* flex-start | center */;
    padding: 0;
    min-height: 60vh; /*Adjust for header height*/
    height: 60vh; /*Adjust for header height*/
}
.ds-fw-header .et_pb_fullwidth_header_container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}
.ds-fw-header .header-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 2% !important;
    margin: 0;
}

/*-----------------------------------------------*/ 
/*-----END Header & Slider Alignment by Divi Soup----*/ 
/*-----------------------------------------------*/

Open in new window


And it worked perfectly.  But then I upgraded to the latest Divi, and of course now it's broken. Can anyone help me make the header 60vh again? Site is https://techgardens.com/optical-engineering/

Thanks.
0
Does anyone know of a wordpress plugin that works like this? http://donateri.org  - the client wants something like that, and also: Ideally it would integrate with mailchimp and can be set up to send a reminder of the pickup the day before.

If there is no such thing, where could we go to have it developed?
0
I am getting an error after uploading a Theme to Wordpress hosted on AWS.  Has anyone seen this before and know how to fix it?

Can't connect to AWS! Check your credentials and make sure your AWS accout is active!

I know account is spelled wrong.  That is how it is spelled in the error.
0
I manage a site for a utility company that does not do their own online billing. Rather they host links to the third party that does it.

I wanted to protect against Phishing attacks with these links.

The first thing I was going to do was add a plugin for a Yubikey.

Will that be sufficient or should I also do something else? I was thinking about signing the links with a PGP key, but that may be too complex for the users of the site.
0
Regex Destination url needs to be lower case.  I found this code that will convert it to lower case in the httpd.conf file.

RewriteMap lc int:tolower
RewriteRule (.*?[A-Z]+.*) ${lc:$1} [R]

Open in new window


Here is a sample url

http://www.theherbsplace.com/Garlic_Oil_Capsules_p_400.html

Open in new window

source url

https://www.theherbsplace.com/product/garlic_oil_capsules_p_400/

Open in new window

target url

I need to know if there is a better way to do this.  Because it seems very slow on Xampp.
0
- Autoconfirm emails (purchase receipts, donation receipts) from our Luminate and Wordpress sites not going through to Gmail accounts.
- Marketing emails from our Luminate account not going through to Gmail accounts.

Any ideas how to fix this?   It started 9/6
0
I have a WordPress site with the Genesis framework, and am getting a weird layout issue with the category template...

I'm guessing there is a hopefully easy css tweak.

http://southnyack.ny.gov/category/faq/
0
Dear Contributors, I have link errors. Can you help me with this on my website http://essmen.com/?
0
HTML5 and CSS3 Fundamentals
LVL 12
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

I am being treated for lung and brain cancer with imutheropy and radiation. I was unprepared for what a muddle the radiation would make of my brain but here I am in the thick of it trying to muddle on.
I am in the process of trying to delete and reinstall a WP site. I thought the easiest way to do it would be take advantage of the Softaculous scripts in my C-Panel.
I used the delete function and apparaently checked the remove directry remove database, remove database user. I then tried to rebuild the site using the settings in my wp-config file.
The Softaculous script did the uploads but generated an error saying there was already a site with this url (this is what I thought checking the three checkboxes would take care of.
I don't know where this url is stored. It is not in the site directry.
So I paniced and tried to do a full restore using the server's backup. The backup diirectry didn't list the site even going three weeks back. I suspect this is because I deleted the database user name and there is nothing to attach the stored data to.
I am besieged with headaches from every direction; files with duplicate names to forgotten passwords.
I would pull my hair out if it hadn't fallen out already!
0
I am having problems with my website as it seems to be working very slow.  Can someone tell me how to speed up the website? It is a wp website.  I called the hosting company where they state that I am having wp problems. Can someone help me?

www.essmen.com
0
I currently have 20 WordPress Sites with Bluehost.com, and my goal is to migrate OUT to another service.  I am looking for recommendations for another service and any HOWTO's that might make this transition easier. Here are some parameters I have with Blue Host which may cost me much more with another provider.

Currently with Blue Host:
- Annual cost LESS THAN $200/year, and last was $99
- Unlimited site hosting... Note I have 20 wordpress installs currently, no extra cost
--  mysql DB service
-- CPanel admin interface, okay to use something else
-- SSH access
-- "Unlimited Storage", I currently use ~ 2GB of file store, and less than 500MB of DB storage

_- I do have an AWS account I can use, if that's the most cost effective... thus this post... I am having trouble with the cost effective part. Please note the current cost I put above.
0
Hi Guys
I am using StoreFront theme for WooCommerce. I like to display the Primary menu on all pages other than home. I have placed the function below, but not sure if I am on the right track.
I appreciate any help in advance.

# add_action( ‘init’, ‘remove_PrimaryNav’, 50 );
# function remove_PrimaryNav () {
#      if(!is_home()){
#      remove_action( ‘storefront_header’,’storefront_primary_navigation’, 50 );
#      }
# }
0
Need a plan for getting cross-links to my website

I would like to start writing articles about my research, and using them to get cross-links to other news websites.

I have a Wordpress website and wonder what plug-ins can help.

Also, what kind of conventional word counts and page formats are most typical for me enticing other sites to want to cross-link?

Thanks
0
Hello, I have a 28 page PDF document that I want to add to a WordPress site, the problem that I am having is the only way I can incorporate it into the page is a link to the pdf but I wanted to see if I could put the page into the frame so the visitors can see the entire page when visiting this page not having to click on the link to see the pdf.
1
I have the aliplugin.  I imported products to my website.  When I click on the product on the website it does not follow through.  Can you explain to me what is going on with my website http://essmen.com/.  I went to the website to see if my plugin is installed properly.  I see that it is installed properly.  I am using the ePN CPA network for the portal.  Can someone help me with this plugin for WP? Please see attachment to make sure that I have the plugin set up properly.Expert-Exchange.docx
0
Hi Experts,

How much would someone charge for website maintenance under WordPress? I am not talking about backups, errors, etc., but simple text changes, new pages and some custom graphics like for the Featured Image?

I am actually not a designer myself, but a programmer, and I outsource graphics. But how much would a Featured Image cost on average, or how many hours?
0
I have a WP theme.  I need to upload xls to the theme. Can you help me?  The website is www.essmen.com
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

We have moved a WordPress site over to HTTPS, however some of the scripts / css files are still being referenced on http - resulting in a broken site as these requests are blocked due to mixed active content violation.

Summary
* This is a WP site that runs off a menu option of the main site - which is not WP. In other words you have www.domain.com - normal site and from there a link to www.domain.com/blog - this is a WP site specifically to run the blog.
* The site is hosted on one domain but dashboard (wp-admin) is hosted on a different domain
* The requests to the blocked content files are on the admin domain (resource domain which I think is an Amazon S3 bucket - but I don't have confirmation on this - my access is limited)
* Requests to the domain a redirected to https://
* The site url's (admin and site) in the settings were changed to https
* The links in question are not in the database but are generated with the WP enqueue_scripts and enqueue_styles - we have done the URL search and replace on the database but that had no effect on the scripts and JS files
* The Wordpress HTTPS plugin is installed (https://wordpress.org/plugins/wordpress-https) and the SSL Host is configured to be the Admin domain.

I am under pressure to get this working but have N other things to do so don't have to fiddle about with WP.

Hoping someone out there has seen this before and knows what has been missed.


I suspect that as part of the enqueue scripts call because the …
0
Need to create WordPress based photo album

I have a WP site and find the format of Flickr a bit unworkable. For example, I want to provide a URL to my tour attendees, and show my photo library after they provide their First Name and an Email address.

Do you know of any WP plug ins that could help me create a virtual tour image photo gallery?

Thsnks
0
Quote from another wordpress question:
The only file in your root WordPress folder that you should need to keep (given your screenshot) is the wp-config.php file, unless you've got non standard customisations to the site. You should be able to delete the wp-admin and wp-includes folders (these are the "core" folders David mentioned) and reinstall them from a fresh copy of WordPress.

Cleaning a site isn't easy. You'll very likely have infected files in your plugins, and as David mentioned it's quite a process to remove and reinstall them. On top of that, you'll need to:
* reset all admin user passwords in the database, and probably editor and author user passwords too (and maybe more depending on the site)
* change the database user password on the server and in the wp-config.php file
* change the "authentication unique keys and salts" in the wp-config.php file (there's a note in the file on how to do that)

To be completely thorough, the above should be done offline and without opening WordPress, to avoid reinfection part way through. There may also be other things in the WordPress database that are compromised and open the site up for reinfection. I've found that generally I can clean a site manually without being completely thorough, but it does take quite some time.

Updated wordpress version 4.9.8 (from 4.9.x)
I copied the infected site to my  windows desktop computer.
https://wordpress.org/plugins/wp-clone-by-wp-academy/
and copied using …
0
My site went down due to Maria DB increasing in memory usage.  I am running atop and went through the logs and saw it increase in size enough to take the server down.

I ran mysqltuner on the DB and got these results

-------- Recommendations ---------------------------------------------------------------------------
General recommendations:
    Control warning line(s) into /var/log/mariadb/mariadb.log file
    Control error line(s) into /var/log/mariadb/mariadb.log file
    Run OPTIMIZE TABLE to defragment tables for better performance
      OPTIMIZE TABLE `thefruga_smf_test`.`smf_log_errors`; -- can free 47.8366432189941 MB
    Total freed space after theses OPTIMIZE TABLE : 47.8366432189941 Mb
    Restrict Host for user@% to user@SpecificDNSorIp
    MySQL was started within the last 24 hours - recommendations may be inaccurate
    Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
    Adjust your join queries to always utilize indexes
    When making adjustments, make tmp_table_size/max_heap_table_size equal
    Reduce your SELECT DISTINCT queries which have no LIMIT clause
    Performance schema should be activated for better diagnostics
    Consider installing Sys schema from https://github.com/mysql/mysql-sys
    Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: http://bit.ly/2wgkDvS
Variables to adjust:
    query_cache_size (=0)
    query_cache_type (=0)
    query_cache_limit

Open in new window

0
I bought a theme from themeforest.com
If I backup wordpress will I still keep my theme?
Or is there a special unique way I need to backup to keep theme.
0
Hi Experts

Can anyone tell me what a landing page is really?

I assume, just a single page with limited info and a form to collect info?

Does emphasis needs to go into design? Can Wordpress be used, or hand code?

Any info would be appropriated
0

WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.